﻿using UnityEngine;
using System.Collections;

public class ScoreScript : MonoBehaviour {

	public int					playerNumber = 0;
	public int					score = 0;
	public bool					atePoison = false;
	private ScoreManager		scoreMNG;

	void Start ()
	{
		scoreMNG = (ScoreManager)FindObjectOfType (typeof(ScoreManager)); 
	}

	void Update () 
	{
	
	}

	public void GetScore(int points)
	{
		score += points;
	}

	public void GetPoisoned(int poisoinPenalty)
	{
		score -= poisoinPenalty;

	}
}
